import { RollTipsItem } from "../../msgbroad/RollTipsItem";
type int = number;
//class PetMingMsgRollTips
    
    export  class PetMingMsgRollTips /* flash.display.Sprite */
    {
        constructor()
        {
            
            mouseEnabled = false;
            mouseChildren = false;
            return;
        }

        /* internal  */onInEnd(arg1: RollTipsItem): void
        {
            if (arg1.parent) 
            {
                arg1.parent.removeChild(arg1);
            }
            arg1.dispose();
            return;
        }

        public showMsg(arg1: string, arg2: int): void
        {
            var loc1=new RollTipsItem();
            loc1.updateData(arg1, this.onInEnd);
            loc1.x = (arg2 - 1) * 120;
            this.addChild(loc1);
            return;
        }
    }
